import React from 'react';
import { Avatar, List } from 'antd';
function index() {
  const data = [
    {
      title: '丐世神医',
    },
    {
      title: '上门龙婿',
    },
    {
      title: '镇国神婿',
    },
    {
      title: '都市之最强狂兵',
    },
  ];
  return (
    <div>
      <h1>小说榜</h1>
      <List
        itemLayout="horizontal"
        dataSource={data}
        renderItem={(item, index) => (
          <List.Item>
            <List.Item.Meta
              avatar={<Avatar style={{width:'60px',height:'80px',borderRadius:5}} src={`https://gw.alipayobjects.com/zos/antfincdn/LlvErxo8H9/photo-1503185912284-5271ff81b9a8.webp`} />}
              title={<a href="https://ant.design">{item.title}</a>}
              description="祖达萨大叔大婶大萨达撒大萨达四大三"
            />
          </List.Item>
        )}
      />
    </div>
  )
}

export default index
